Skip to content

Improve local clone path resolution#80

Merged
khaliqgant merged 1 commit into
mainfrom
codex/issue-78-clone-paths
Jul 16, 2026
Merged

Improve local clone path resolution#80
khaliqgant merged 1 commit into
mainfrom
codex/issue-78-clone-paths

Conversation

@miyaontherelay

Copy link
Copy Markdown
Contributor

Summary

  • expand exact ~ and leading ~/ values in cloneRoot and clonePaths across legacy, node, wrapped, and split configs while rejecting unsupported ~user forms
  • infer the checkout root from cwd only for an unambiguous single-repo config whose resolved route matches a GitHub remote
  • validate configured checkout roots for local internal dispatch flows while keeping relay, fixture, and maintenance paths environment-independent
  • document the behavior and cover schema, git URL/worktree, and CLI gating end to end

Validation

  • npm run build
  • npm test -- --run (38 files, 723 tests)
  • focused schema/local-clone/CLI suite (96 tests)
  • npm pack --dry-run (258 files)
  • git diff --check
  • independent Codex shadow review: approved, no P0/P1/P2 blockers

Closes #78

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@miyaontherelay, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 21 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ccedd401-203a-4b40-9e86-2c0ac8d2c4d5

📥 Commits

Reviewing files that changed from the base of the PR and between 99611d8 and 51bc927.

📒 Files selected for processing (7)
  • README.md
  • src/cli/fleet.test.ts
  • src/cli/fleet.ts
  • src/config/local-clone-paths.test.ts
  • src/config/local-clone-paths.ts
  • src/config/schema.test.ts
  • src/config/schema.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/issue-78-clone-paths

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@khaliqgant
khaliqgant merged commit af1499b into main Jul 16, 2026
3 checks passed
@khaliqgant
khaliqgant deleted the codex/issue-78-clone-paths branch July 16, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

config: expand ~ in cloneRoot/clonePaths, and default clonePath to cwd for single-repo local runs

2 participants